import Layout from "@/layout";

//系统管理
export default {
  path: "/tenant-manager",
  component: Layout,
  redirect: "noRedirect",
  name: "租户管理",
  meta: { title: "租户管理", icon: "dashboard" },
  children: [
    {
      path: "/tenant-menu-insert",
      name: "添加租户菜单",
      hidden: true,
      component: () => import("@/views/tenant/menu/save"),
      meta: { title: "添加租户菜单", icon: "dashboard", inner: true }
    },
    {
      path: "/tenant-menu-update",
      name: "编辑租户菜单",
      hidden: true,
      component: () => import("@/views/tenant/menu/save"),
      meta: { title: "编辑租户菜单", icon: "dashboard", inner: true }
    },
    {
      path: "/tenant-menu",
      name: "租户菜单管理",
      component: () => import("@/views/tenant/menu/list.vue"),
      meta: { title: "租户菜单管理", icon: "menu1" }
    },
    {
      path: "/tenant-function-insert",
      name: "添加租户权限",
      hidden: true,
      component: () => import("@/views/tenant/function/save"),
      meta: { title: "添加租户权限", icon: "dashboard", inner: true }
    },
    {
      path: "/tenant-function-update",
      name: "编辑租户权限",
      hidden: true,
      component: () => import("@/views/tenant/function/save"),
      meta: { title: "编辑租户权限", icon: "dashboard", inner: true }
    },
    {
      path: "/tenant-function",
      name: "租户权限管理",
      component: () => import("@/views/tenant/function/list.vue"),
      meta: { title: "租户权限管理", icon: "dashboard" }
    },
    {
      path: "/tenant-tenant-insert",
      name: "添加租户",
      hidden: true,
      component: () => import("@/views/tenant/tenant/save"),
      meta: { title: "添加租户", icon: "dashboard", inner: true }
    },
    {
      path: "/tenant-tenant-update",
      name: "编辑租户",
      hidden: true,
      component: () => import("@/views/tenant/tenant/save"),
      meta: { title: "编辑租户", icon: "dashboard", inner: true }
    },
    {
      path: "/tenant-tenant",
      name: "租户管理",
      component: () => import("@/views/tenant/tenant/list.vue"),
      meta: { title: "租户管理", icon: "dashboard" }
    },
    {
      path: "/tenant-user-insert",
      name: "添加租户用户",
      hidden: true,
      component: () => import("@/views/tenant/user/save"),
      meta: { title: "添加租户用户", icon: "dashboard", inner: true }
    },
    {
      path: "/tenant-user-update",
      name: "编辑租户用户",
      hidden: true,
      component: () => import("@/views/tenant/user/save"),
      meta: { title: "编辑租户用户", icon: "dashboard", inner: true }
    },
    {
      path: "/tenant-user",
      name: "租户用户管理",
      hidden: true,
      component: () => import("@/views/tenant/user/list.vue"),
      meta: { title: "租户用户管理", icon: "user" }
    },
    {
      path: "/tenant-project",
      name: "租户项目",
      hidden: true,
      component: () => import("@/views/tenant/project/save"),
      meta: { title: "租户项目", icon: "dashboard", inner: true }
    },
    {
      path: "/tenant-pay",
      name: "租户商户",
      hidden: true,
      component: () => import("@/views/tenant/pay/save"),
      meta: { title: "租户商户", icon: "dashboard", inner: true }
    }
  ]
};
